<!DOCTYPE html>
<html>
<head>
	<title>020-箭头函数的基本使用.html</title>
</head>
<body>
	
</body>
<script type="text/javascript">

	// const sum = (n1,n2)=>{
	// 	console.log('sum function...')
	// 	return n1 + n2
	// }
	// sun(1,2)
	// const sum = (n1,n2)=> n1 + n2
	// console.log(sum(1,2))

	const sum = (n1)=>n1+10
	console.log(sum(1))
</script>
</html>